<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
<%@ include file="/commons/taglibs.jsp" %>

 
<jsFileName><!--js/pageJS/page_pubgroup.js--></jsFileName>
<s:form id="query_privilege_group_list_form" name="query_privilege_group_list_form" method="post" action="pubGroup/list.do">
	<div  class="con_wrap_padding">
		<div class="trans_operate_box clearfix">
			<div class="operate_btns">			
				<a class="btn_short" href="javascript:void(0)" title="新建分组" onClick="Ext.milan.pagejs.page_pubgroup.showAddForm();">新 建</a>
			</div>
			<div class="trans_type_search">
		  	</div>   
		</div>
	<table id="dataGridTable_group" width="98%" class="dhtmlxGrid" imgpath="skins/default/images/dhtmlx/" lightnavigation="true" style="table-layout:fixed">
		<tr>
			<td align="left" width="30%">名称</td>
			<td align="left" width="30%">备注</td>
			<td align="center" width="40%">操作</td>
		</tr>
		<c:forEach items="${page.result}" var="item" varStatus="status">
		<tr>
			<td align="left" title='${item.groupname}'>${item.groupname}</td>
			<td align="left" title='${item.remark}'>${item.remark}</td>
			<td align="center">
				<a href="#" onclick="Ext.milan.pagejs.page_pubgroup.viewDetail('${item.pgid}')"><img src="skins/default/images/icons/ico-view.gif" />查看</a>&nbsp;
				<a href="#" onclick="Ext.milan.pagejs.page_pubgroup.showEditForm('${item.pgid}')"><img src="skins/default/images/icons/ico-edit.gif" />编辑</a>&nbsp;
				<a href="#" onclick="Ext.milan.pagejs.page_pubgroup.deletePrivilegeGroup('${item.pgid}')"><img src="skins/default/images/icons/ico-delete.gif" />删除</a>&nbsp;
			</td>
		</tr>
		</c:forEach>
		
		<c:if test="${fn:length(page.result)==0}">
		<tr>
	    	<td colspan="3"><div class="note_red_in_div">系统没有查找到符合条件的数据！</div></td>
	    </tr>
	    </c:if>
	</table>
	<input type="hidden" name="pageNumber" value="${page.thisPageNumber}"/>
	<input type="hidden" name="pageSize" value="${page.pageSize}"/>
	<simpletable:pagingToolbar page="${page}"/>
 	</div>
</s:form>
